$defaultWidth: 100%;
$defaultPadding20: 20px;
$defaultPadding10: 10px;
$swiperHeight: 460px;
$swiperWidth: 100vw;
$defaultColor: #ffb72f;
$priceColor: #e64656;
$defaultFontSize: 29px;
$defaultMultipleFontSize: 6px;
.card {
  width: $defaultWidth;
  border-radius: 18px;
  padding: $defaultPadding20;
  background-color: white;
  margin: 0 auto $defaultPadding20 auto;
}
.spec_disable {
  background-color: #f6f6f6 !important;
  color: #ccc !important;
  border: 1px #f6f6f6 solid !important;
}
.spec_active {
  color: $defaultColor !important;
  border: 1px solid $defaultColor !important;
  background-color: white !important;
}
.goods-title {
  font-size: calc($defaultFontSize);
  font-weight: bold;
}
.money {
  flex: 1;
  font-size: 1.125rem;
  font-weight: bold;
  color: $priceColor;
}
.sp-reservation-resources-detail-goods-select {
  height: 65vh;
  border-top-right-radius: 16px;
  border-top-left-radius: 16px;
  //头部
  .header {
    display: flex;
    .good-info {
      position: relative;
      height: 108px;
      flex: 1;
      .cover {
        position: absolute;
        top: -80px;
        width: 150px;
        height: 150px;
        border-radius: 8px;
      }
    }
    .close {
      justify-content: flex-end;
      &-icon {
        width: 50px;
        height: 50px;
      }
    }
  }

  //资源选择
  &-category {
    margin: $defaultPadding10 0;
    &-main {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      padding: $defaultPadding20 0;
    }
    &-item {
      //font-size: calc($defaultFontSize);
      //border: 1px solid rgba(19, 19, 19, 0.2);
      //background-color: white;
      //font-weight: 500;
      //color: rgba(19, 19, 19, 0.7);
      //margin-top: 10px;
      //margin-right: 16px;
      //padding: 10px $defaultPadding20;
      //border-radius: 8px;
      //display: inline-block;

      box-sizing: border-box;
      background: #f6f6f6;
      line-height: 38px;
      border-radius: 30px;
      font-size: $defaultFontSize;
      font-family: PingFang SC;
      font-weight: 400;
      color: #363535;
      margin-right: 20px;
      margin-bottom: 20px;
      border: 2px solid #f6f6f6;
      padding: 10px 30px;
    }
  }

  //规格选择
  &-spec {
    &-main {
      margin: $defaultPadding10 0;
      &-attr {
        display: flex;
        align-items: center;
        padding: $defaultPadding20 0;
        flex-wrap: wrap;
        &-item {
          box-sizing: border-box;
          background: #f6f6f6;
          line-height: 38px;
          border-radius: 30px;
          font-size: $defaultFontSize;
          font-family: PingFang SC;
          font-weight: 400;
          color: #363535;
          margin-right: 20px;
          margin-bottom: 20px;
          border: 2px solid #f6f6f6;
          padding: 10px 30px;
        }
      }
    }
  }
  &-footer {
    position: fixed;
    width: 95vw;
    bottom: 0;
    padding: 20px 0;
  }
}
